using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Sanchay
{
    public partial class DashBoard : Form
    {
        public DashBoard()
        {
            InitializeComponent();
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {
            SparePurchaseRegister spr = new SparePurchaseRegister();
            spr.MdiParent = DashBoard.ActiveForm;
            spr.Show();
        }

      

        private void pictureBox6_Click(object sender, EventArgs e)
        {
          
            Stock objStock = new Stock();
            objStock.MdiParent = DashBoard.ActiveForm;
            objStock.Show();
          
        }

     
        private void pictureBox8_Click(object sender, EventArgs e)
        {
            AboutUs objAboutUs = new AboutUs();
            objAboutUs.ShowDialog();
        }

        private void pictureBoxSales_Click(object sender, EventArgs e)
        {

            SpareSalesRegister objSpareSalesRegister = new SpareSalesRegister();
            objSpareSalesRegister.MdiParent = DashBoard.ActiveForm;
            objSpareSalesRegister.Show();
        }

        private void pictureBox9_Click(object sender, EventArgs e)
        {
            Form2 frm = new Form2();
            frm.ShowDialog();
        }

        private void pictureBox10_Click(object sender, EventArgs e)
        {
           
        }

        private void pictureBox10_Click_1(object sender, EventArgs e)
        {
            Registers registers = new Registers();
            registers.MdiParent = DashBoard.ActiveForm;
            registers.Show();
        }
    }
}